Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.7
|
Leadtools.Caching Assembly > Leadtools.Caching Namespace : CacheItem<T> Class |
public class CacheItem<T>
'Declaration
Public Class CacheItem(Of T)
'Usage
Dim instance As CacheItem(Of T)
public class CacheItem<T>
generic<typename T> public ref class CacheItem
CacheItem<T> provides a generic cache entry. It has a string key and a generic value pair and an optional region.
When an item is added to the cache, the value is serialized and stored physically. Similarly when an item is retrieved, the value is de-serialized. Hence, the CacheItem is just a holder for the cached item and is not itself serialized or saved.